//<!--[if lte IE 6]> 
//<script type="text/javascript" language="javascript"> 
function imgFix() { 
  var widthRestriction = 75; 
  var heightRestriction = 75; 
  var allElements = document.getElementsByTagName('img')    
  for (var i = 0; i < allElements.length; i++) 
  { 
    if (allElements[i].className.indexOf('portrait') >= 0) 
        { 
      var imgElements = allElements[i].getElementsByTagName('img');
      if (imgElements.length ==0)
      {
        imgElements = allElements[i].getElementsByTagName('IMG');
      } 
      for (var j=0; j < imgElements.length; j++) 
          { 
        if ( imgElements[j].width > widthRestriction || imgElements[j].height > heightRestriction ) 
                { 
          if ( imgElements[j].width > imgElements[j].height)  


                  { 
            imgElements[j].height = imgElements[j].height*(widthRestriction/imgElements[j].width); 
            imgElements[j].width = widthRestriction; 
          } else 
                  { 
            imgElements[j].width = imgElements[j].width*(heightRestriction/imgElements[j].height); 
            imgElements[j].height = heightRestriction; 
          }  


        } 
                if ( imgElements[j].height < heightRestriction ) 
                { 
                  imgElements[j].style.paddingTop = ( heightRestriction -imgElements[j].height ) /2 + "px"; 
                } 
      } /*for j*/ 
    } 
  }/*for i*/ 
} 
//window.onload = imgFix; 
//</script> 
//<![endif]--> 
